﻿<dxc:DXWindow x:Class="ThanNhanTao.frmNgachBacChucVu"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:dxc="http://schemas.devexpress.com/winfx/2008/xaml/core"
        xmlns:dxe="http://schemas.devexpress.com/winfx/2008/xaml/editors"
        dxc:ThemeManager.ThemeName="Office2007Blue"
        Title="III.Ngạch, bậc, chức vụ"
        WindowState="Maximized" Width="790" Height="600"
        xmlns:uc="clr-namespace:ThanNhanTao.UC">
    <dxc:DXWindow.Resources>
        <Style TargetType="Label">
            <Setter Property="VerticalAlignment" Value="Center" />
        </Style>
        <Style TargetType="dxe:DateEdit">
            <Setter Property="Margin" Value="2,2" />
            <Setter Property="FontSize" Value="13" />
            <Setter Property="FontWeight" Value="Bold" />
        </Style>
        <Style TargetType="dxe:TextEdit">
            <Setter Property="FontSize" Value="13" />
            <Setter Property="FontWeight" Value="Bold"/>
            <Setter Property="Margin" Value="2,2"/>
        </Style>
        <Style TargetType="dxe:ComboBoxEdit">
            <Setter Property="FontSize" Value="13" />
            <Setter Property="FontWeight" Value="Bold"/>
            <Setter Property="Margin" Value="2,2"/>
        </Style>
        <Style TargetType="RadioButton">
            <Setter Property="Margin" Value="2,2" />
            <Setter Property="VerticalAlignment" Value="Center" />
        </Style>
        <Style TargetType="GroupBox">
            <Setter Property="FontWeight" Value="Bold" />
        </Style>
    </dxc:DXWindow.Resources>
        <Grid>
            <Grid.RowDefinitions>
                <RowDefinition Height="405"></RowDefinition>
                <RowDefinition Height="40"></RowDefinition>
                <RowDefinition Height="100*"></RowDefinition>
            </Grid.RowDefinitions>
            <GroupBox Header="III.Ngạch, bậc, chức vụ">
                <Grid>
                    <Grid.RowDefinitions>
                        <RowDefinition Height="26"></RowDefinition>
                        <RowDefinition Height="26"></RowDefinition>
                        <RowDefinition Height="26"></RowDefinition>
                        <RowDefinition Height="26"></RowDefinition>
                        <RowDefinition Height="26"></RowDefinition>
                        <RowDefinition Height="26"></RowDefinition>
                        <RowDefinition Height="26"></RowDefinition>
                        <RowDefinition Height="26"></RowDefinition>
                        <RowDefinition Height="26"></RowDefinition>
                        <RowDefinition Height="26"></RowDefinition>
                        <RowDefinition Height="26"></RowDefinition>
                        <RowDefinition Height="26"></RowDefinition>
                        <RowDefinition Height="26"></RowDefinition>
                        <RowDefinition Height="26"></RowDefinition>
                        <RowDefinition Height="39*" />
                    </Grid.RowDefinitions>
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition Width="140"/>
                        <ColumnDefinition Width="130" />
                        <ColumnDefinition Width="60" />
                        <ColumnDefinition Width="120" />
                        <ColumnDefinition Width="110" />
                        <ColumnDefinition Width="120" />
                        <ColumnDefinition Width="126*" />
                    </Grid.ColumnDefinitions>
                    <Label Content="Hình thức hưởng lương/ngạch:" Foreground="Red" Grid.ColumnSpan="2"/>
                    <RadioButton Content="Chuyển xếp theo bảng lương mới" Grid.Row="1" Grid.Column="1" Name="rdoChuyenXepTheoBangLuongMoi" Grid.ColumnSpan="3" />
                    <RadioButton Content="Nâng lương thường xuyên" Grid.Row="2" Grid.Column="1" Name="rdoNangLuongThuongXuyen" Grid.ColumnSpan="2"  />
                    <RadioButton Content="Nâng lương trước thời hạn" Grid.Row="3" Grid.Column="1" Name="rdoNangLuongTruocThoiHan" Grid.ColumnSpan="2"  />
                    <RadioButton Content="Bổ nhiệm vào ngạch. Thời điểm tính nâng lương lần sau" Grid.Row="4" Grid.Column="1" 
                             Name="rdoBoNhiemVaoNgach" Grid.ColumnSpan="4"  />
                    <dxe:TextEdit Grid.Column="4" Grid.Row="4" Grid.ColumnSpan="2" Margin="40,2,2,2"
                              Name="txtBoNhiemVaoNgach" MaxLength="100"/>
                    <RadioButton Content="Nâng ngạch" Grid.Row="5" Grid.Column="1" Name="rdoNangNgach"/>
                    <RadioButton Content="Chuyển ngạch" Grid.Row="6" Grid.Column="1" Name="rdoChuyenNhach"/>
                    <RadioButton Content="Hưởng luơng hợp đồng 100%" Grid.Row="7" Grid.Column="1" Name="rdoHuongLuongHopDong100PhanTram" 
                             Grid.ColumnSpan="2"/>
                    <RadioButton Content="Hưởng luơng hợp đồng 85%" Grid.Row="8" Grid.Column="1" Name="rdoHuongLuongHopDong85PhanTram" 
                             Grid.ColumnSpan="2"/>
                    <Label Content="Ngạch:" Foreground="Red" Grid.Row="9"/>
                    <dxe:TextEdit Grid.Column="1" Grid.Row="9" Grid.ColumnSpan="3"
                              Name="txtNgach" MaxLength="200"/>
                    <Label Content="Hệ số:" Grid.Row="10" Grid.Column="2"/>
                    <dxe:TextEdit Grid.Column="3" Grid.Row="10"
                              Name="txtHeSo" MaxLength="50"/>
                    <Label Content="Bậc:" Foreground="Red" Grid.Row="10"/>
                    <dxe:TextEdit Grid.Column="1" Grid.Row="10"
                              Name="txtBac" MaxLength="100"/>
                    <Label Content="Ngày hưởng bậc:" Foreground="Red" Grid.Row="10" Grid.Column="4"/>
                    <dxe:DateEdit Grid.Column="5" Grid.Row="10" 
                              Name="deNgayHuongBac" DisplayFormatString="dd/MM/yyyy" Mask="dd/MM/yyyy" MaskCulture="vi-VN" />
                    <Label Content="Chức vụ hiện tại:" Foreground="Red" Grid.Row="11"/>
                    <dxe:TextEdit Grid.Column="1" Grid.Row="11" Grid.ColumnSpan="5"
                              Name="txtChucVuHienTai" MaxLength="500"/>
                    <Label Content="Khoa, Phòng công tác:" Foreground="Red" Grid.Row="12"/>
                    <dxe:TextEdit Grid.Column="1" Grid.Row="12" Grid.ColumnSpan="5"
                              Name="txtKhoaPhongCongTac" MaxLength="500"/>
                    <Label Content="Bắt đầu vị trí tại Khoa, Phòng:" Foreground="Red" Grid.Row="13" Grid.ColumnSpan="2"/>
                    <dxe:DateEdit Grid.Column="1" Grid.Row="13" Grid.ColumnSpan="2" Margin="40,2,25,2"  
                              Name="deBatDauViTriTaiKhoaPhong" DisplayFormatString="dd/MM/yyyy" Mask="dd/MM/yyyy" MaskCulture="vi-VN" />
                    <StackPanel Orientation="Horizontal" Grid.Row="13" Grid.Column="3" Grid.ColumnSpan="3">
                        <Label Content="Bầu cử:" Foreground="Red"/>
                        <RadioButton Content="Có" Name="rdoBauCuCo" Margin="20,2,20,2"/>
                        <RadioButton Content="Không" Name="rdoBauCuKhong" Margin="20,2,20,2"/>
                    </StackPanel>
                </Grid>
            </GroupBox>
            <Grid Background="#FFC9E8F6" Grid.Row="1">
                <Grid.RowDefinitions>
                    <RowDefinition Height="4" />
                    <RowDefinition Height="30" />
                    <RowDefinition Height="4" />
                </Grid.RowDefinitions>
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="3" />
                    <ColumnDefinition Width="75" />
                    <ColumnDefinition Width="281*" />
                    <ColumnDefinition Width="80" />
                    <ColumnDefinition Width="8" />
                    <ColumnDefinition Width="75" />
                    <ColumnDefinition Width="8" />
                    <ColumnDefinition Width="75" />
                    <ColumnDefinition Width="8" />
                    <ColumnDefinition Width="75" />
                    <ColumnDefinition Width="3" />
                </Grid.ColumnDefinitions>
                <Button Name="btnThemMoi" Click="btnThemMoi_Click" Content="_Thêm mới" Grid.Column="3" Grid.Row="1" IsEnabled="False" />
                <Button Name="btnLuu" Click="btnLuu_Click" Content="_Lưu" Grid.Column="5" Grid.Row="1" IsEnabled="False" />
                <Button Name="btnInPhieu" Click="btnInPhieu_Click" Content="_In phiếu" Grid.Column="1" Grid.Row="1"/>
                <Button Name="btnDong" Click="btnDong_Click" Content="Đó_ng" Grid.Column="9" Grid.Row="1"/>
                <Button Name="btnXoa" Click="btnXoa_Click" Content="_Xóa" Grid.Column="7" Grid.Row="1" IsEnabled="False"/>
            </Grid>
        </Grid>
</dxc:DXWindow>
